package com.orange.common.base.entity;

import com.orange.common.enums.ResponseStatus;

/**
 * 服务数据对象
 *
 * @Author YWF
 * @Date 2023/2/4 22:54
 */
public class ConsumerDto {

    private ResHeader header;

    private Object body;

    private Object serverReq;

    private Object serverRes;

    private ResponseStatus status;

    public ConsumerDto() {
    }

    public ResHeader getHeader() {
        return header;
    }

    public void setHeader(ResHeader header) {
        this.header = header;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }

    public Object getServerReq() {
        return serverReq;
    }

    public void setServerReq(Object serverReq) {
        this.serverReq = serverReq;
    }

    public Object getServerRes() {
        return serverRes;
    }

    public void setServerRes(Object serverRes) {
        this.serverRes = serverRes;
    }

    public ResponseStatus getStatus() {
        return status;
    }

    public void setStatus(ResponseStatus status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ConsumerDto{" +
                "header=" + header +
                ", body=" + body +
                ", serverReq=" + serverReq +
                ", serverRes=" + serverRes +
                ", status=" + status +
                '}';
    }
}
